﻿using System.Text;

namespace ElectronicCommerce.Framework.Utility
{
    /// <summary>
    /// Encoding 
    /// </summary>
    public static class Encodings
    {
        public static Encoding UTF8
        {
            get { return Encoding.UTF8; }
        }

        public static Encoding UTF32
        {
            get { return Encoding.UTF32; }
        }

        public static Encoding UTF7
        {
            get { return Encoding.UTF7; }
        }

        public static Encoding Unicode
        {
            get { return Encoding.Unicode; }
        }

        public static Encoding GB2312
        {
            get { return Encoding.GetEncoding("gb2312"); }
        }

        public static Encoding GBK
        {
            get { return Encoding.GetEncoding("GBK"); }
        }
    }
}
